package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.dto.platform.criteria.MerchantBalanceRecordCriteria;
import com.ayf.payment.game.api.entity.MerchantBalanceRecord;

import java.util.List;
import java.util.Map;

public interface MerchantBalanceRecordService{

    /**
     * 商户收支记录查询
     *
     * @param merchantId
     * @return
     */
    List<MerchantBalanceRecord> select(MerchantBalanceRecordCriteria criteria);

    /**
     * 查询今日商户收支记录
     *
     * @param merchantId
     * @return
     */
    MerchantBalanceRecord selectToday(Integer merchantId);

    /**
     * 商户收支记录添加
     *
     * @return
     */
    boolean addBudgets(List<Integer> subList, Map<Integer, Map<String, Object>> tradeMap, Map<Integer, Map<String, Object>> proxyMap, Map<Integer, Map<String,
            Object>> settleMap, Map<Integer, Map<String, Object>> withdrawalMap, Map<Integer, Map<String, Object>> payMap);


}
